package xyz.xmh.pattern.behavioral.templatepattern;

/**
 * @author Administrator
 * <p>
 * 实现了游戏模板的实体类，蟋蟀
 */
public class Cricket extends AbstractGameTemplate {
    @Override
    public void initialize() {
        System.out.println("Cricket Game Finished!");
    }

    @Override
    public void startPlay() {
        System.out.println("Cricket Game Initialized! Start playing.");
    }

    @Override
    public void endPlay() {
        System.out.println("Cricket Game Started. Enjoy the game!");
    }
}
